﻿namespace Nop.Core.Infrastructure.DependencyManagement
{
    /// <summary>
    /// 组件生命周期
    /// </summary>
    public enum ComponentLifeStyle
    {
        /// <summary>
        /// 单体
        /// </summary>
        Singleton = 0,
        /// <summary>
        /// 瞬时
        /// </summary>
        Transient = 1,
        /// <summary>
        /// PerRequest
        /// </summary>
        LifetimeScope = 2
    }
}
